package com.unicom.mec.deploy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 部署信息类
 *
 * @author 刘亮武
 * @date 2020年06月28日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ApplicationVo {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "应用主键")
    private Long applicationId;

    @ApiModelProperty(value = "应用名称")
    private String applicationName;

    @ApiModelProperty(value = "cpu")
    private Integer cpu;

    @ApiModelProperty(value = "已使用cpu")
    private Integer usedCpu;

    @ApiModelProperty(value = "内存")
    private Integer memory;

    @ApiModelProperty(value = "已使用内存")
    private Integer usedMemory;

    @ApiModelProperty(value = "节点数")
    private Integer edgeNodeCount;

    @ApiModelProperty(value = "设备数")
    private Integer edgeEndpointCount;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
